package src;

import java.util.LinkedHashMap;
/**
 * Created by dell on 2017/7/27.
 */
public class LinkedHashMapTest {
    public static void main(String[] args) {
        LinkedHashMap lh=new LinkedHashMap();
        lh.put("语文",90);
        lh.put("数学",99);
        lh.put("英语",98);
        lh.forEach((key,value)-> System.out.println(key+"-->"+value));
    }
}
